<?php echo form_open('admin/danhmuc/xulycapnhat', array('id'=>'form')); ?>
<fieldset id="personal">
	<legend>CẬP NHẬT THÔNG TIN DANH MỤC</legend>
    	
        <label for="lastname">Tên danh mục : </label> 
        <input name="tendm" id="tendm" type="text" tabindex="1" value="<?php echo $ttdm->tendm; ?>" />
        
        <br>
        <label for="lastname">Hiển thị : </label> 
        <input name="hienthi" id="hienthi" type="checkbox" tabindex="2" value="true" <?php echo $ttdm->hienthi=='true' ? 'checked="checked"' : ''; ?>  />
        
                        
   </fieldset>
                      
   <div align="center">
   	<input id="button1" type="submit" value="Save" /> 
                      <input id="button2" type="reset" />
                      </div>
                      
<input type="hidden" value="<?php echo $ttdm->madm; ?>" name="madm">
                    
</form>